package com.tchepannou.limbe.validation;

import java.lang.reflect.Field;

/**
 * User: herve
 * Date: 14-01-12 11:29 AM
 */
public interface Validator
{
    /**
     * Perform field validation
     */
    public boolean validate (Object bean, Field field);

    /**
     * Perform bean validation
     */
    public boolean validate (Object bean);
}
